import {createApp} from "vue";
import {createStore} from "vuex";

const store = createStore({
    state() {
        return {
            allPrice: 0,
            allCheck: false
        }
    },
    mutations: {
        setAllPrice(state:any, allPrice) {
            state.allPrice = allPrice;
        },
        setAllCheck(state:any,allCheck){
            state.allCheck = allCheck;
        }
    }
})
export default store